package com.play.applicaiton;

import android.app.Application;
import android.content.Context;


public class MyApplication extends Application {

    private static Context context;
    private static MyApplication application;

    public static Context getContext() {
        return context;
    }

    public static MyApplication getInstance() {
        return application;
    }


    @Override
    public void onCreate() {
        super.onCreate();
        application = this;
        init();
    }

    private void init() {
        context = getApplicationContext();
//        SPHelper.init(context);
    }
}